import React from "react";
import { BrowserRouter, useRoutes } from "react-router-dom";
import { Router } from "./router/router";
import AoutHooks from "./hooks/AoutHooks";
function App() {
  const El = () => useRoutes(Router);
  return (
    <BrowserRouter>
    {/* <AoutHooks> */}
        <El />
    {/* </AoutHooks> */}
    </BrowserRouter>
  );
}

export default App;
